package com.ruoyi.coal.modules.coalpile.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@TableName("cp_radar")
public class RadarEntity implements Serializable {
  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.AUTO)
  @ApiModelProperty("雷达id")
  private Integer id;

  @ApiModelProperty("煤场")
  private Integer coalYardId;

  @ApiModelProperty("雷达ip")
  private String ip1;

  @ApiModelProperty("本机ip")
  private String ip2;

  @ApiModelProperty("本机port")
  private Integer port;

  @ApiModelProperty("云台com口")
  private String ptzCom;

  @ApiModelProperty("云台速度")
  private Integer ptzSpeed;

  @ApiModelProperty("雷达开始角度")
  private Integer radarStartAngle;

  @ApiModelProperty("雷达停止角度")
  private Integer radarStopAngle;

  @ApiModelProperty("云台停止角度")
  private Integer rotStopAngle;

  @ApiModelProperty("休眠(0:false 1:true)")
  private Integer sleep;

  @ApiModelProperty("倒挂(0:false 1:true)")
  private Integer invert;

  @ApiModelProperty("雷达偏移角度")
  private Double radarOffsetAngle;

  @ApiModelProperty("frame_offset_angle_x")
  private Double frameOffsetAngleX;

  @ApiModelProperty("frame_offset_angle_y")
  private Double frameOffsetAngleY;

  @ApiModelProperty("frame_offset_angle_z")
  private Double frameOffsetAngleZ;

  @ApiModelProperty("offset_x")
  private Double offsetX;

  @ApiModelProperty("offset_y")
  private Double offsetY;

  @ApiModelProperty("offset_z")
  private Double offsetZ;

  @ApiModelProperty("offset_angle_x")
  private Double offsetAngleX;

  @ApiModelProperty("offset_angle_y")
  private Double offsetAngleY;

  @ApiModelProperty("offset_angle_z")
  private Double offsetAngleZ;

  @ApiModelProperty("LD")
  private Double ld;

  @ApiModelProperty("LR")
  private Double lr;

  @ApiModelProperty("雷达状态(0:停止 1:启动)")
  private Integer radatStatus;

  @ApiModelProperty("云台状态(0:停止 1:启动)")
  private Integer rotStatus;

  @ApiModelProperty("json过滤")
  private String jsonFilter;

  @TableLogic(value = "1", delval = "0")
  @TableField(fill = FieldFill.INSERT)
  @ApiModelProperty(value = "删除逻辑(0:删除 1:保存)", hidden = true)
  private Integer del;

  @ApiModelProperty("雷达类型")
  private Integer radarType;

  public void setId(Integer id) {
    this.id = id;
  }

  public void setCoalYardId(Integer coalYardId) {
    this.coalYardId = coalYardId;
  }

  public void setIp1(String ip1) {
    this.ip1 = ip1;
  }

  public void setIp2(String ip2) {
    this.ip2 = ip2;
  }

  public void setPort(Integer port) {
    this.port = port;
  }

  public void setPtzCom(String ptzCom) {
    this.ptzCom = ptzCom;
  }

  public void setPtzSpeed(Integer ptzSpeed) {
    this.ptzSpeed = ptzSpeed;
  }

  public void setRadarStartAngle(Integer radarStartAngle) {
    this.radarStartAngle = radarStartAngle;
  }

  public void setRadarStopAngle(Integer radarStopAngle) {
    this.radarStopAngle = radarStopAngle;
  }

  public void setRotStopAngle(Integer rotStopAngle) {
    this.rotStopAngle = rotStopAngle;
  }

  public void setSleep(Integer sleep) {
    this.sleep = sleep;
  }

  public void setInvert(Integer invert) {
    this.invert = invert;
  }

  public void setRadarOffsetAngle(Double radarOffsetAngle) {
    this.radarOffsetAngle = radarOffsetAngle;
  }

  public void setFrameOffsetAngleX(Double frameOffsetAngleX) {
    this.frameOffsetAngleX = frameOffsetAngleX;
  }

  public void setFrameOffsetAngleY(Double frameOffsetAngleY) {
    this.frameOffsetAngleY = frameOffsetAngleY;
  }

  public void setFrameOffsetAngleZ(Double frameOffsetAngleZ) {
    this.frameOffsetAngleZ = frameOffsetAngleZ;
  }

  public void setOffsetX(Double offsetX) {
    this.offsetX = offsetX;
  }

  public void setOffsetY(Double offsetY) {
    this.offsetY = offsetY;
  }

  public void setOffsetZ(Double offsetZ) {
    this.offsetZ = offsetZ;
  }

  public void setOffsetAngleX(Double offsetAngleX) {
    this.offsetAngleX = offsetAngleX;
  }

  public void setOffsetAngleY(Double offsetAngleY) {
    this.offsetAngleY = offsetAngleY;
  }

  public void setOffsetAngleZ(Double offsetAngleZ) {
    this.offsetAngleZ = offsetAngleZ;
  }

  public void setLd(Double ld) {
    this.ld = ld;
  }

  public void setLr(Double lr) {
    this.lr = lr;
  }

  public void setRadatStatus(Integer radatStatus) {
    this.radatStatus = radatStatus;
  }

  public void setRotStatus(Integer rotStatus) {
    this.rotStatus = rotStatus;
  }

  public void setJsonFilter(String jsonFilter) {
    this.jsonFilter = jsonFilter;
  }

  public void setDel(Integer del) {
    this.del = del;
  }

  public void setRadarType(Integer radarType) {
    this.radarType = radarType;
  }

  public boolean equals(Object o) {
    if (o == this)
      return true;
    if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.RadarEntity))
      return false;
    com.ruoyi.coal.modules.coalpile.domain.RadarEntity other = (com.ruoyi.coal.modules.coalpile.domain.RadarEntity)o;
    if (!other.canEqual(this))
      return false;
    Object this$id = getId(), other$id = other.getId();
    if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
      return false;
    Object this$coalYardId = getCoalYardId(), other$coalYardId = other.getCoalYardId();
    if ((this$coalYardId == null) ? (other$coalYardId != null) : !this$coalYardId.equals(other$coalYardId))
      return false;
    Object this$ip1 = getIp1(), other$ip1 = other.getIp1();
    if ((this$ip1 == null) ? (other$ip1 != null) : !this$ip1.equals(other$ip1))
      return false;
    Object this$ip2 = getIp2(), other$ip2 = other.getIp2();
    if ((this$ip2 == null) ? (other$ip2 != null) : !this$ip2.equals(other$ip2))
      return false;
    Object this$port = getPort(), other$port = other.getPort();
    if ((this$port == null) ? (other$port != null) : !this$port.equals(other$port))
      return false;
    Object this$ptzCom = getPtzCom(), other$ptzCom = other.getPtzCom();
    if ((this$ptzCom == null) ? (other$ptzCom != null) : !this$ptzCom.equals(other$ptzCom))
      return false;
    Object this$ptzSpeed = getPtzSpeed(), other$ptzSpeed = other.getPtzSpeed();
    if ((this$ptzSpeed == null) ? (other$ptzSpeed != null) : !this$ptzSpeed.equals(other$ptzSpeed))
      return false;
    Object this$radarStartAngle = getRadarStartAngle(), other$radarStartAngle = other.getRadarStartAngle();
    if ((this$radarStartAngle == null) ? (other$radarStartAngle != null) : !this$radarStartAngle.equals(other$radarStartAngle))
      return false;
    Object this$radarStopAngle = getRadarStopAngle(), other$radarStopAngle = other.getRadarStopAngle();
    if ((this$radarStopAngle == null) ? (other$radarStopAngle != null) : !this$radarStopAngle.equals(other$radarStopAngle))
      return false;
    Object this$rotStopAngle = getRotStopAngle(), other$rotStopAngle = other.getRotStopAngle();
    if ((this$rotStopAngle == null) ? (other$rotStopAngle != null) : !this$rotStopAngle.equals(other$rotStopAngle))
      return false;
    Object this$sleep = getSleep(), other$sleep = other.getSleep();
    if ((this$sleep == null) ? (other$sleep != null) : !this$sleep.equals(other$sleep))
      return false;
    Object this$invert = getInvert(), other$invert = other.getInvert();
    if ((this$invert == null) ? (other$invert != null) : !this$invert.equals(other$invert))
      return false;
    Object this$radarOffsetAngle = getRadarOffsetAngle(), other$radarOffsetAngle = other.getRadarOffsetAngle();
    if ((this$radarOffsetAngle == null) ? (other$radarOffsetAngle != null) : !this$radarOffsetAngle.equals(other$radarOffsetAngle))
      return false;
    Object this$frameOffsetAngleX = getFrameOffsetAngleX(), other$frameOffsetAngleX = other.getFrameOffsetAngleX();
    if ((this$frameOffsetAngleX == null) ? (other$frameOffsetAngleX != null) : !this$frameOffsetAngleX.equals(other$frameOffsetAngleX))
      return false;
    Object this$frameOffsetAngleY = getFrameOffsetAngleY(), other$frameOffsetAngleY = other.getFrameOffsetAngleY();
    if ((this$frameOffsetAngleY == null) ? (other$frameOffsetAngleY != null) : !this$frameOffsetAngleY.equals(other$frameOffsetAngleY))
      return false;
    Object this$frameOffsetAngleZ = getFrameOffsetAngleZ(), other$frameOffsetAngleZ = other.getFrameOffsetAngleZ();
    if ((this$frameOffsetAngleZ == null) ? (other$frameOffsetAngleZ != null) : !this$frameOffsetAngleZ.equals(other$frameOffsetAngleZ))
      return false;
    Object this$offsetX = getOffsetX(), other$offsetX = other.getOffsetX();
    if ((this$offsetX == null) ? (other$offsetX != null) : !this$offsetX.equals(other$offsetX))
      return false;
    Object this$offsetY = getOffsetY(), other$offsetY = other.getOffsetY();
    if ((this$offsetY == null) ? (other$offsetY != null) : !this$offsetY.equals(other$offsetY))
      return false;
    Object this$offsetZ = getOffsetZ(), other$offsetZ = other.getOffsetZ();
    if ((this$offsetZ == null) ? (other$offsetZ != null) : !this$offsetZ.equals(other$offsetZ))
      return false;
    Object this$offsetAngleX = getOffsetAngleX(), other$offsetAngleX = other.getOffsetAngleX();
    if ((this$offsetAngleX == null) ? (other$offsetAngleX != null) : !this$offsetAngleX.equals(other$offsetAngleX))
      return false;
    Object this$offsetAngleY = getOffsetAngleY(), other$offsetAngleY = other.getOffsetAngleY();
    if ((this$offsetAngleY == null) ? (other$offsetAngleY != null) : !this$offsetAngleY.equals(other$offsetAngleY))
      return false;
    Object this$offsetAngleZ = getOffsetAngleZ(), other$offsetAngleZ = other.getOffsetAngleZ();
    if ((this$offsetAngleZ == null) ? (other$offsetAngleZ != null) : !this$offsetAngleZ.equals(other$offsetAngleZ))
      return false;
    Object this$ld = getLd(), other$ld = other.getLd();
    if ((this$ld == null) ? (other$ld != null) : !this$ld.equals(other$ld))
      return false;
    Object this$lr = getLr(), other$lr = other.getLr();
    if ((this$lr == null) ? (other$lr != null) : !this$lr.equals(other$lr))
      return false;
    Object this$radatStatus = getRadatStatus(), other$radatStatus = other.getRadatStatus();
    if ((this$radatStatus == null) ? (other$radatStatus != null) : !this$radatStatus.equals(other$radatStatus))
      return false;
    Object this$rotStatus = getRotStatus(), other$rotStatus = other.getRotStatus();
    if ((this$rotStatus == null) ? (other$rotStatus != null) : !this$rotStatus.equals(other$rotStatus))
      return false;
    Object this$jsonFilter = getJsonFilter(), other$jsonFilter = other.getJsonFilter();
    if ((this$jsonFilter == null) ? (other$jsonFilter != null) : !this$jsonFilter.equals(other$jsonFilter))
      return false;
    Object this$del = getDel(), other$del = other.getDel();
    if ((this$del == null) ? (other$del != null) : !this$del.equals(other$del))
      return false;
    Object this$radarType = getRadarType(), other$radarType = other.getRadarType();
    return !((this$radarType == null) ? (other$radarType != null) : !this$radarType.equals(other$radarType));
  }

  protected boolean canEqual(Object other) {
    return other instanceof com.ruoyi.coal.modules.coalpile.domain.RadarEntity;
  }

  public int hashCode() {
    int PRIME = 59;
    int result = 1;
    Object $id = getId();
    result = result * 59 + (($id == null) ? 43 : $id.hashCode());
    Object $coalYardId = getCoalYardId();
    result = result * 59 + (($coalYardId == null) ? 43 : $coalYardId.hashCode());
    Object $ip1 = getIp1();
    result = result * 59 + (($ip1 == null) ? 43 : $ip1.hashCode());
    Object $ip2 = getIp2();
    result = result * 59 + (($ip2 == null) ? 43 : $ip2.hashCode());
    Object $port = getPort();
    result = result * 59 + (($port == null) ? 43 : $port.hashCode());
    Object $ptzCom = getPtzCom();
    result = result * 59 + (($ptzCom == null) ? 43 : $ptzCom.hashCode());
    Object $ptzSpeed = getPtzSpeed();
    result = result * 59 + (($ptzSpeed == null) ? 43 : $ptzSpeed.hashCode());
    Object $radarStartAngle = getRadarStartAngle();
    result = result * 59 + (($radarStartAngle == null) ? 43 : $radarStartAngle.hashCode());
    Object $radarStopAngle = getRadarStopAngle();
    result = result * 59 + (($radarStopAngle == null) ? 43 : $radarStopAngle.hashCode());
    Object $rotStopAngle = getRotStopAngle();
    result = result * 59 + (($rotStopAngle == null) ? 43 : $rotStopAngle.hashCode());
    Object $sleep = getSleep();
    result = result * 59 + (($sleep == null) ? 43 : $sleep.hashCode());
    Object $invert = getInvert();
    result = result * 59 + (($invert == null) ? 43 : $invert.hashCode());
    Object $radarOffsetAngle = getRadarOffsetAngle();
    result = result * 59 + (($radarOffsetAngle == null) ? 43 : $radarOffsetAngle.hashCode());
    Object $frameOffsetAngleX = getFrameOffsetAngleX();
    result = result * 59 + (($frameOffsetAngleX == null) ? 43 : $frameOffsetAngleX.hashCode());
    Object $frameOffsetAngleY = getFrameOffsetAngleY();
    result = result * 59 + (($frameOffsetAngleY == null) ? 43 : $frameOffsetAngleY.hashCode());
    Object $frameOffsetAngleZ = getFrameOffsetAngleZ();
    result = result * 59 + (($frameOffsetAngleZ == null) ? 43 : $frameOffsetAngleZ.hashCode());
    Object $offsetX = getOffsetX();
    result = result * 59 + (($offsetX == null) ? 43 : $offsetX.hashCode());
    Object $offsetY = getOffsetY();
    result = result * 59 + (($offsetY == null) ? 43 : $offsetY.hashCode());
    Object $offsetZ = getOffsetZ();
    result = result * 59 + (($offsetZ == null) ? 43 : $offsetZ.hashCode());
    Object $offsetAngleX = getOffsetAngleX();
    result = result * 59 + (($offsetAngleX == null) ? 43 : $offsetAngleX.hashCode());
    Object $offsetAngleY = getOffsetAngleY();
    result = result * 59 + (($offsetAngleY == null) ? 43 : $offsetAngleY.hashCode());
    Object $offsetAngleZ = getOffsetAngleZ();
    result = result * 59 + (($offsetAngleZ == null) ? 43 : $offsetAngleZ.hashCode());
    Object $ld = getLd();
    result = result * 59 + (($ld == null) ? 43 : $ld.hashCode());
    Object $lr = getLr();
    result = result * 59 + (($lr == null) ? 43 : $lr.hashCode());
    Object $radatStatus = getRadatStatus();
    result = result * 59 + (($radatStatus == null) ? 43 : $radatStatus.hashCode());
    Object $rotStatus = getRotStatus();
    result = result * 59 + (($rotStatus == null) ? 43 : $rotStatus.hashCode());
    Object $jsonFilter = getJsonFilter();
    result = result * 59 + (($jsonFilter == null) ? 43 : $jsonFilter.hashCode());
    Object $del = getDel();
    result = result * 59 + (($del == null) ? 43 : $del.hashCode());
    Object $radarType = getRadarType();
    return result * 59 + (($radarType == null) ? 43 : $radarType.hashCode());
  }

  public String toString() {
    return "RadarEntity(id=" + getId() + ", coalYardId=" + getCoalYardId() + ", ip1=" + getIp1() + ", ip2=" + getIp2() + ", port=" + getPort() + ", ptzCom=" + getPtzCom() + ", ptzSpeed=" + getPtzSpeed() + ", radarStartAngle=" + getRadarStartAngle() + ", radarStopAngle=" + getRadarStopAngle() + ", rotStopAngle=" + getRotStopAngle() + ", sleep=" + getSleep() + ", invert=" + getInvert() + ", radarOffsetAngle=" + getRadarOffsetAngle() + ", frameOffsetAngleX=" + getFrameOffsetAngleX() + ", frameOffsetAngleY=" + getFrameOffsetAngleY() + ", frameOffsetAngleZ=" + getFrameOffsetAngleZ() + ", offsetX=" + getOffsetX() + ", offsetY=" + getOffsetY() + ", offsetZ=" + getOffsetZ() + ", offsetAngleX=" + getOffsetAngleX() + ", offsetAngleY=" + getOffsetAngleY() + ", offsetAngleZ=" + getOffsetAngleZ() + ", ld=" + getLd() + ", lr=" + getLr() + ", radatStatus=" + getRadatStatus() + ", rotStatus=" + getRotStatus() + ", jsonFilter=" + getJsonFilter() + ", del=" + getDel() + ", radarType=" + getRadarType() + ")";
  }

  public Integer getId() {
    return this.id;
  }

  public Integer getCoalYardId() {
    return this.coalYardId;
  }

  public String getIp1() {
    return this.ip1;
  }

  public String getIp2() {
    return this.ip2;
  }

  public Integer getPort() {
    return this.port;
  }

  public String getPtzCom() {
    return this.ptzCom;
  }

  public Integer getPtzSpeed() {
    return this.ptzSpeed;
  }

  public Integer getRadarStartAngle() {
    return this.radarStartAngle;
  }

  public Integer getRadarStopAngle() {
    return this.radarStopAngle;
  }

  public Integer getRotStopAngle() {
    return this.rotStopAngle;
  }

  public Integer getSleep() {
    return this.sleep;
  }

  public Integer getInvert() {
    return this.invert;
  }

  public Double getRadarOffsetAngle() {
    return this.radarOffsetAngle;
  }

  public Double getFrameOffsetAngleX() {
    return this.frameOffsetAngleX;
  }

  public Double getFrameOffsetAngleY() {
    return this.frameOffsetAngleY;
  }

  public Double getFrameOffsetAngleZ() {
    return this.frameOffsetAngleZ;
  }

  public Double getOffsetX() {
    return this.offsetX;
  }

  public Double getOffsetY() {
    return this.offsetY;
  }

  public Double getOffsetZ() {
    return this.offsetZ;
  }

  public Double getOffsetAngleX() {
    return this.offsetAngleX;
  }

  public Double getOffsetAngleY() {
    return this.offsetAngleY;
  }

  public Double getOffsetAngleZ() {
    return this.offsetAngleZ;
  }

  public Double getLd() {
    return this.ld;
  }

  public Double getLr() {
    return this.lr;
  }

  public Integer getRadatStatus() {
    return this.radatStatus;
  }

  public Integer getRotStatus() {
    return this.rotStatus;
  }

  public String getJsonFilter() {
    return this.jsonFilter;
  }

  public Integer getDel() {
    return this.del;
  }

  public Integer getRadarType() {
    return this.radarType;
  }
}
